<template>
	<view>
		<web-view :src="pdfurl" style="width: 100%;height: 100vh;"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pdfurl: ""
			}
		},
		onLoad(options) {
			const pdf = options.url
			const pdfurl = `/static/pdf/pdf.html?file=${pdf}`
			this.pdfurl = pdfurl
		},
		methods: {

		}
	}
</script>

<style>

</style>